import { PureComponent } from "react";
import withRoute from "../hoc/WithRoute";

class User extends PureComponent
{
    render()
    {
        const { query } = this.props.route;
        console.log(query);
        return (
            <div>
                -------------------
                <h2>User</h2>
                ------------------
            </div>
        )
    }
}

export default withRoute(User);